﻿using Simple.SysRepository;
using Simple.Tools.Security;
using Simple.Tools;
using SimpleSaas.Common;
using SimpleSaas.Entity.Dto;
using SimpleSaas.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SimpleSaas.Common.Execption;

namespace Simple.ISysService
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
    public interface ISysUserService
	{

		/// <summary>
		/// 
		/// </summary>
		/// <param name="loginUserDto"></param>
		/// <returns></returns>
		public Task<IdentityLoginDto> LoginAsync(LoginUserDto loginUserDto);

		/// <summary>
		/// 登录接口
		/// </summary>
		/// <param name="loginUserDto"></param>
		/// <returns></returns>
		/// <exception cref="BusinessException"></exception>
		Task<LoginUserInfo> LoginByPasswordAsync(LoginUserDto loginUserDto);


	}
}
